package com.orcsun.lucy8.object;

public class LeaseInfo {

	private long id;
	private String stockNo;
	private String year;
	private String model;
	private String plateNo;
	private String insureEnd;
	private String debtor;
	private String phone;
	private String gpsNo;
	private int payDay=1;
	private String startDate;
	private String payType;
	private int payPhase=12;
	private String nextPayDate;
	private double payedAmount=0;
	private double amount=0;
	private double balanpay=0;
	
	private String memo;
	
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getStockNo() {
		return stockNo;
	}
	public void setStockNo(String stockNo) {
		this.stockNo = stockNo;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public String getPlateNo() {
		return plateNo;
	}
	public void setPlateNo(String plateNo) {
		this.plateNo = plateNo;
	}
	public String getInsureEnd() {
		return insureEnd;
	}
	public void setInsureEnd(String insureEnd) {
		this.insureEnd = insureEnd;
	}
	public String getDebtor() {
		return debtor;
	}
	public void setDebtor(String debtor) {
		this.debtor = debtor;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getGpsNo() {
		return gpsNo;
	}
	public void setGpsNo(String gpsNo) {
		this.gpsNo = gpsNo;
	}
	public int getPayDay() {
		return payDay;
	}
	public void setPayDay(int payDay) {
		this.payDay = payDay;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public String getPayType() {
		return payType;
	}
	public void setPayType(String payType) {
		this.payType = payType;
	}
	public int getPayPhase() {
		return payPhase;
	}
	public void setPayPhase(int payPhase) {
		this.payPhase = payPhase;
	}
	public String getNextPayDate() {
		return nextPayDate;
	}
	public void setNextPayDate(String nextPayDate) {
		this.nextPayDate = nextPayDate;
	}
	public double getPayedAmount() {
		return payedAmount;
	}
	public void setPayedAmount(double payedAmount) {
		this.payedAmount = payedAmount;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
	
	public double getBalanpay() {
		return balanpay;
	}
	public void setBalanpay(double balanpay) {
		this.balanpay = balanpay;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public String toString(){
		StringBuffer sb = new StringBuffer();
		sb.append(id).append(";");
		sb.append(stockNo).append(";");
		sb.append(year).append(";");
		sb.append(model).append(";");
		sb.append(plateNo).append(";");
//		sb.append(insureEnd).append(";");
		sb.append(debtor).append(";");
		sb.append(phone).append(";");
		sb.append(gpsNo).append(";");
//		sb.append(payDay).append(";");
//		sb.append(startDate).append(";");
		sb.append(payType).append(";");
		sb.append(payPhase).append("-stages;");
//		sb.append(nextPayDate).append(";");
		sb.append(payedAmount).append(";");
		sb.append(amount).append(";");
		sb.append(memo).append(";");
		
		return sb.toString();
	}
	
	
}
